package com.xxx.blog.service;


import com.xxx.blog.domain.Article;
import com.xxx.blog.query.ArticleQuery;

import java.util.List;

public interface IArticleService {
    List<Article> findAll();
    Article findOne(Long id);
    List<Article> queryPage(ArticleQuery articleQuery);
    void addArticle(Article article);
    void updateArticle(Article article);
    void delete(Long id);
    void batchDeletes(Long[] ids);
}
